package com.sxhalo.fsms.domain;

import java.util.Date;

public class MotorReliabilityData {
    /**
     * 
     */
    private Integer deviceId;

    /**
     * 总启动次数
     */
    private Integer totalStart;

    /**
     * 总跳闸次数
     */
    private Integer totalTrip;

    /**
     * 累计运行时间
     */
    private Integer totalRuningHour;

    /**
     * 本次运行时间
     */
    private Integer currentRuningHour;

    /**
     * 采集时间
     */
    private Date acquisitionTime;

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getTotalStart() {
        return totalStart;
    }

    public void setTotalStart(Integer totalStart) {
        this.totalStart = totalStart;
    }

    public Integer getTotalTrip() {
        return totalTrip;
    }

    public void setTotalTrip(Integer totalTrip) {
        this.totalTrip = totalTrip;
    }

    public Integer getTotalRuningHour() {
        return totalRuningHour;
    }

    public void setTotalRuningHour(Integer totalRuningHour) {
        this.totalRuningHour = totalRuningHour;
    }

    public Integer getCurrentRuningHour() {
        return currentRuningHour;
    }

    public void setCurrentRuningHour(Integer currentRuningHour) {
        this.currentRuningHour = currentRuningHour;
    }

    public Date getAcquisitionTime() {
        return acquisitionTime;
    }

    public void setAcquisitionTime(Date acquisitionTime) {
        this.acquisitionTime = acquisitionTime;
    }
    
    public boolean equals(Object o) {
		if (this == o)
			return true;
		if (o == null || getClass() != o.getClass())
			return false;
 
		MotorReliabilityData other = (MotorReliabilityData) o;
 
		if (!deviceId.equals(other.deviceId))
			return false;
		if (!totalStart.equals(other.totalStart))
			return false;
		if (!totalTrip.equals(other.totalTrip))
			return false;
		if (!totalRuningHour.equals(other.totalRuningHour))
			return false;
		if (!currentRuningHour.equals(other.currentRuningHour))
			return false;
 
		return true;
	}
}